extends Sprite2D


# Called when the node enters the scene tree for the first time.
func _ready():
	var a = 0.1
	var b = 0.2
	var c:String = "123"
	if(is_equal_approx(a+b,0.3)):
		print("cello")
	if c=="123":
		print("bello")
	var d = 0
	while d<1:
		d=d+1
		print(d)
		pass
	var f:Array[int] = [1,2,3]
	print(f[1])
	f.append(4)
	print(f[3])
	f.erase(4)#优先删除前面的数据
	print(f)
	print(f.size())
	#引用变量
	var g = f
	g.append(5)
	print(f)
	print("我时分割")
	print(Input.get_action_strength("向左走"))
	print(AAAAA.a)
	AAAAA.b()
	pass # Replace with function body.


# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
	#print(Input.get_action_strength("向左走"))
	
	if Input.get_action_strength("向左走"):
		self.position.x = self.position.x -1
	pass
